home *** CD-ROM | disk | FTP | other *** search
- MacHacksBug
- ftp://altus.drgw.net/pub/machacksbug/
-
- By
- Troy Benjegerdes <troy@blacklablinux.com>
- Douglas Clarke <dclark@teraglobal.com>
-
- with help from
- Eric Raymond
- Ben Martz
- Bob Desoff
-
-
-
-
- MacsHacksBug
-
- Is a collabrative debugger front end for GDB on Linux and MacOS X PowerPC systems.
- The front-end can be run on any platform supporting the Python scripting language
- with TCL/TK extensions for Python. This includes (but is definitely not limited to):
- MacOS, Linux, Windoze, various unices (probably including OS X and NeXT)
-
- It serves two purposes:
-
- * Provide a familiar looking environment for migrating from Classic MacOS
- to OS X
-
- * Provide a collaborative environment for multiple people to aid in debugging
- or teaching envinronment. This is particularly effective when accomponied by
- video conferencing supplied by someone like: (boo, hiss, marketing) TeraGlobal ;)
-
- The following macsbugs commands are supported:
-
- s step instruction
- t step over
- ip assembly instruction listing from program counter
- il assembly instruction listing around the PC
- ips/ils source listing around around pc (very special dcmd) :P
- sc stack crawl (not related to the watermelon crawl)
-
-
- In addition, it supports all the GDB instructions plus a macsbugs style register, history,
- and listing window. The register and listing windows are updated by the macsbugs style commands
- and the following GDB commands:
-
- step, stepi, next, nexti, run
-
-
- How to use:
-
- Edit the file MacHacksBug.py with bbedit (don't double click it)
- and change the HOST, USER, and PASS to reflect the machine you will be debugging on.
-
- Double click on the MacHacksBug.py file
-
- type 'connect' to connect to a linux machine, and 'connect_X' to connect to an OS X
- machine. FYI, the 'screen' program must be installed on the target machine.
-
- use the 'file the_buggy_file' and the run command to get going.
- Happy debugging.
-
- TODO:
-
- Uh, actually not hardcode the target address, username, and password.
- Get Airport working on linux.
- Not hang if the remote machine isn't there.
- Exit with some sense of grace
-